package com.sumer.psychology.common.domain.model;

import com.sumer.psychology.common.spring.ApplicationContextProvider;

/**
 * 领域服务工厂
 * <p/>
 * User: zhenguang.zhu
 * Date: 2014/11/20
 * Time: 10:25
 */
public class CommonDomainRegistry {
    public static UserService userService() {
        return ApplicationContextProvider.instance().applicationContext().getBean(UserService.class);
    }
}
